---
import type { UIDictionaryKeys } from '../i18n/translation-checkers';
import { useTranslations } from '../i18n/util';

export interface Props {
	key: UIDictionaryKeys;
}
---

{useTranslations(Astro)(Astro.props.key)}
